  import { Prompts } from '@ant-design/x';
  import React from 'react';
  import useStyle from "../../views/Index/index";
  const placeholderPromptsItems = [
    {
      key: '1-1',
      description: `进入功能菜单`,
    },
    {
      key: '1-2',
      description: `智能导诊服务`,
    },
    {
      key: '1-3',
      description: `咨询更多问题`,
    },
    {
      key: '1-4',
      description: `关于我们`,
    },
  ];
  const TipsPrompts = ({onPromptsItemClick}) => {
    const { styles } = useStyle();
    return (
          <Prompts
          className={styles.flexWrap}
            // title="提供专业的健康报告分析和个性化健康建议"
            items={placeholderPromptsItems}
            onItemClick={onPromptsItemClick}
          />
    );
  };
  export default TipsPrompts;